package com.alks.entity.data.entity;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_MTL_PRE_OTHER")
@ApiModel(value="PcMtlPreOther对象", description="")
public class PcMtlPreOther implements Serializable {
    private String id;
    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "订单号")
    private String purNo;

    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "订购日期")
    private Date purDate;

    @ApiModelProperty(value = "物料ID")
    private String mtlNo;

    @ApiModelProperty(value = "物料名称")
    private String mtlName;

    @ApiModelProperty(value = "物料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "物料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "物料类型ID")
    private String mtlTypeNo;

    @ApiModelProperty(value = "物料颜色")
    private String mtlColor;

    private String mtlNo2;

    @ApiModelProperty(value = "订购数量")
    private BigDecimal purQty;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "折扣单价")
    private BigDecimal price;

    private Date reqDate;

    @ApiModelProperty(value = "创建人")
    private String sysUser;

    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "创建日期")
    private Date sysDate;

    private String purFlag;

    @ApiModelProperty(value = "采购备注")
    private String remark;

    @ApiModelProperty(value = "尺寸")
    private String sizeNo;

    @ApiModelProperty(value = "指令")
    private String orderId;

    @ApiModelProperty(value = "型体")
    private String style;

    private String shoeName;

    @ApiModelProperty(value = "订单类型")
    private String purType;

    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date jqDate;

    private String remark1;

    @ApiModelProperty(value = "检核标志位")
    private String cfmFlag;

    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "检核日期")
    private Date cfmDate;

    @ApiModelProperty(value = "检核人")
    private String cfmUser;

    @ApiModelProperty(value = "对账标志位")
    private String financeCfmFlag;

    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "对账时间")
    private Date financeCfmDate;

    @ApiModelProperty(value = "对账人")
    private String financeCfmUser;

    @ApiModelProperty(value = "财务备注")
    private String financeRecMemo;

    @ApiModelProperty(value = "送货单号")
    private String sendNo;

    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "送货日期")
    private Date sendDate;

    @ApiModelProperty(value = "收货数量")
    private BigDecimal sendQty;

    @ApiModelProperty(value = "金额")
    private BigDecimal amt;

    @ApiModelProperty(value = "对账月份")
    private String financeRecYymm;

    @ApiModelProperty(value = "对账单号")
    private String balanceNo;

    @ApiModelProperty(value = "结算厂商ID")
    private String vendorNo2;

    @ApiModelProperty(value = "结算厂商名称")
    private String vendorName2;

    @ApiModelProperty(value = "对账备注")
    private String financeAccMemo;

    @ApiModelProperty(value = "原单价")
    private BigDecimal orgPrice;

    @ApiModelProperty(value = "责任人")
    private String dutyUser;

    @ApiModelProperty(value = "责任原因")
    private String dutyRek;

}
